
//---------------------------------------------------------------------------
#ifndef PG2_GAME_H
#define PG2_GAME_H
//---------------------------------------------------------------------------
#include "Defines.h"
#include "pg2_directinput.h"
//---------------------------------------------------------------------------
namespace ns
{
//---------------------------------------------------------------------------
class Renderer;
//---------------------------------------------------------------------------
class ENGINE_API Game
{
public:
	Game ();


// interface
public:	
	virtual bool init (ns::Renderer& rkRenderer,DirectInput& dInput) = 0;
	virtual void frame (ns::Renderer& rkRenderer) = 0;
	virtual void deinit () = 0;


// done
public:
	bool isDone () const;
	void setDone (bool bDone);

private:
	bool m_bDone;
};

//---------------------------------------------------------------------------
} // end namespace
//---------------------------------------------------------------------------
#endif // PG2_GAME_H
//---------------------------------------------------------------------------
